<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
	'id'=>'educators-form',
	'enableAjaxValidation'=>false,
	'htmlOptions' => array(
			'enctype' => 'multipart/form-data'
	)
)); ?>

	<p class="help-block">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	
	<?php echo $form->fileFieldRow($model,'eduer_cover',array('class'=>'span5')); ?>
	
	<?php echo $form->radioButtonListInlineRow($model,'eduer_gender',array('1'=>'男','0'=>'女')); ?>
	
	<?php echo $form->textFieldRow($model,'eduer_name',array('class'=>'span5')); ?>
	
	<?php echo $form->textAreaRow($model,'eduer_bio',array('class'=>'span5')); ?>
	
	<?php echo $form->textFieldRow($model,'eduer_tags',array('class'=>'span5')); ?>
	
	<?php echo $form->textFieldRow($model,'eduer_email',array('class'=>'span5')); ?>
	
	<div class="form-actions">
		<?php $this->widget('bootstrap.widgets.TbButton', array(
			'buttonType'=>'submit',
			'type'=>'primary',
			'label'=>$model->isNewRecord ? 'Create' : 'Save',
		)); ?>
	</div>

<?php $this->endWidget(); ?>
